package com.zelix;

import java.awt.*;
import java.io.BufferedReader;
import java.io.IOException;
import javax.swing.*;
import javax.swing.text.JTextComponent;

public class b2 extends a2
{

    JEditorPane m;
    static String n[];
    private static String z[];

    public b2(JFrame jframe, String s, String s1, BufferedReader bufferedreader, boolean flag, boolean flag1)
    {
        this(jframe, s, s1, bufferedreader, flag, flag1, true);
    }

    public b2(JFrame jframe, String s, String s1, BufferedReader bufferedreader, boolean flag, boolean flag1, boolean flag2)
    {
        this(jframe, s, s1, bufferedreader, flag, flag1, true, null);
    }

    public b2(JFrame jframe, String s, String s1, BufferedReader bufferedreader, boolean flag, boolean flag1, boolean flag2, 
            yw yw)
    {
        super(jframe, s, s1, bufferedreader, flag, flag1, flag2);
    }

    protected void e()
    {
        Dimension dimension = Toolkit.getDefaultToolkit().getScreenSize();
        Container container = getContentPane();
        super.g = new j0(container);
        container.setLayout(super.g);
        super.d = new JLabel();
        container.add(super.d, z[3]);
        JPanel jpanel = new JPanel();
        jpanel.setLayout(new l0(1, 60, false, 7));
        container.add(jpanel, z[1]);
        super.e = new JTextArea();
        jpanel.add(new q4(super.e), z[2]);
        m = new JEditorPane();
        m.setEditable(false);
        try
        {
            m.setPage(to.c(to.S));
        }
        catch(IOException ioexception)
        {
            m.setText(ioexception.toString());
        }
        jpanel.add(new q4(m), z[0]);
        super.i = new JButton(z[5]);
        container.add(super.i, z[4]);
        z z2 = new z(this);
        addWindowListener(z2);
        f f1 = new f(this);
        super.i.addKeyListener(f1);
        super.e.addKeyListener(f1);
        ah ah1 = new ah(this);
        super.i.addActionListener(ah1);
        m.addHyperlinkListener(new bh(this));
        super.g.a(n);
        setSize(Math.min(600, dimension.width), Math.min(450, dimension.height));
    }

    private static char[] z(String str) {
        char ac[] = str.toCharArray();
        int clen = ac.length;
        if (clen >= 2)
            return ac;
        ac[0] ^= 0x5f;
        return ac;
    }

    private static String z(char[] chs) {
        for (int i = 0; i < chs.length; i++) {
            byte key = 0;
            switch (i % 5) {
                case 0:
                    key = 6;
                    break;
                case 1:
                    key =1;
                    break;
                case 2:
                    key =49;
                    break;
                case 3:
                    key = 14;
                    break;
                default:
                    key = 95;
                    break;
            }
            chs[i] ^= key;
        }
        return new String(chs).intern();
    }

    static 
    {
        String as[] = new String[6];
        as[0] = z(z("nd]~\017goT"));
        as[1] = z(z("uq]g+V`_k3"));
        as[2] = z(z("phTy\036tdP"));
        as[3] = z(z("krVB=j"));
        as[4] = z(z("ijsz1"));
        as[5] = z(z("IJ"));
        z = as;
        String as1[] = new String[10];
        as1[0] = z(z("krVB=j/Ea/;4"));
        as1[1] = z(z("krVB=j/]k9r<Ra1r`X`:t/Fg;ri\033;p71\001"));
        as1[2] = z(z("uq]g+V`_k3(u^~bkrVB=j/Sa+rn\\%j"));
        as1[3] = z(z("uq]g+V`_k3(c^z+il\fm0huPg1cs\037l0ru^crijsz1(eTh>smEF:ofYzr71"));
        as1[4] = z(z("uq]g+V`_k3(mTh+;b^`+gh_k-(vXj+n+\004!n61"));
        as1[5] = z(z("uq]g+V`_k3(sXi7r<Ra1r`X`:t/Fg;ri\0337j)0\001>"));
        as1[6] = z(z("ijsz1(u^~buq]g+V`_k3(c^z+il\032;"));
        as1[7] = z(z("ijsz1(bT`+csi3<ioEo6hdC (oeEfu31\036?o6"));
        as1[8] = z(z("j`Ha*r/\\g1QhUz7;3\004>"));
        as1[9] = z(z("j`Ha*r/\\g1NdXi7r<\003>o"));
        n = as1;
    }
}